package com.zzxx.service;

import com.github.pagehelper.PageInfo;
import com.zzxx.pojo.Product;

import java.util.List;

public interface ProductService {
	public PageInfo<Product> findAll(int pageNum, int pageSize);

	public boolean add(Product product);

	boolean deleteById(List<String> list);

	Product findById(String id);

	boolean update(Product product);

	boolean updateStatus(List<String> list, Integer state);
}
